<nz-table nzSize="small" [nzData]="[1]" [nzShowPagination]="false" [nzBordered]="true">
    <tbody>
    <tr>
        <td>
            图片
        </td>
        <td [colSpan]="2">
            <button nz-button (click)="downloadImg()" [nzLoading]="pngLoading"><i nz-icon nzType="download" nzTheme="outline"></i>导出PNG图片
            </button>
        </td>
    </tr>
    <tr>
        <td [rowSpan]="3">
            PDF
        </td>
        <td>
            <span>页面大小：</span>
        </td>
        <td>
            <nz-select [(ngModel)]="format" [nzDropdownMatchSelectWidth]="false">
                <nz-option *ngFor="let item of formatOptions" [nzValue]="item.value" [nzLabel]="item.label"></nz-option>
            </nz-select>
        </td>
    </tr>
    <tr>
        <td>
            <span>分辨率：</span>
        </td>
        <td>
            <nz-select [(ngModel)]="resolution" style="width:70px;" [nzDropdownMatchSelectWidth]="false">
                <nz-option *ngFor="let item of resolutionOptions" [nzValue]="item.value" [nzLabel]="item.label"></nz-option>
            </nz-select>
        </td>
    </tr>
    <tr>
        <td [colSpan]="2">
            <button nz-button [disabled]="pdfLoading" style="width:135px;" (click)="exportPDF()">导出文件</button>
        </td>
    </tr>
    </tbody>
</nz-table>
